package com.ubb.smartsearch.controller;

import java.util.Collection;
import java.util.List;

import javax.ejb.Local;

import com.ubb.smartsearch.searchengineif.entity.Result;

@Local
public interface SearchHandlerLocal {

	public Collection<Result> handleSimpleSearch(String query);
	public void train(String corpus);
//	public void trainBayes(String corpus);
//	public void trainRocchio(String corpus);
	public void setRocchioParameters(double alfa, double beta);
	public List<Result> classify(List<Result> results);
//	public List<Result> classifyWithBayes(List<Result> results);
//	public List<Result> classifyWithRocchio(List<Result> results);
	public void changeAlgorithm(String selectedAlgorithm, Double alfa, Double beta);
}